<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>

<style>
@keyframes test {
  to { transform: rotate(360deg); }
}
</style>

<div id="target" style="animation: test 1s;">
  <div style="transform: translateZ(0);"></div>
  <div style="position: relative;"></div>
</div>

<script>
test(() => {}, "Don't crash when squashing layers in newly started CSS transform animations.");
</script>
